<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./demo.css">
</head>
<body>
    <div class="box box1">
        <div class="picture">
            <div class="mask"></div>
        </div>
        <ul>
            <li class="active"><img src="./1.webp" alt=""></li>
            <li><img src="./2.webp" alt=""></li>
        </ul>
        <div class="enlarge"></div>
    </div>
    <div class="box box2">
        <div class="picture">
            <div class="mask"></div>
        </div>
        <ul>
            <li><img src="./1.webp" alt=""></li>
            <li><img src="./2.webp" alt=""></li>
        </ul>
        <div class="enlarge"></div>
    </div>

    <script type="module" >
        let enlarge1 = new Enlarge('.box1')
        let enlarge2 = new Enlarge('.box2')


        import {Enlarge} from './utils.js'

    </script>
</body>
</html>